<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<title>Dom</title>
		<script src="../../py/system.js" type="text/javascript"></script>
		<script src="../../py/System/Dom/Element.js" type="text/javascript"></script>
		<script src="../../py/System/Dom/iframe.js" type="text/javascript"></script>
		
		<script src="../../common/project/project.js" type="text/javascript"></script>
		<script src="../../common/assets/scripts/default.js" type="text/javascript"></script>
		<script src="../../common/assets/scripts/debug.js" type="text/javascript"></script>
	</head>
	<body> 
		<iframe id="w" src="../tools/javascript.html"></iframe>
		<script>
        var iframe = new IFrame("w");
		iframe.ready(function(){
				log(this.window.document.title);
		});
			var fns = [
				["ready", function(){ return iframe.window.document.xType; }],
				["frame", function(){ return iframe.window.document.setStyle("margin", 30); }],
				["color", function(){ return iframe.window.document.bgColor = '#512423'; }]
			];
		</script>
	</body>
</html>
